<include file="Admin/Tpl/Public/admin_nav.html"/>
<div id="main-content">
	<div class="clear"></div>
    <div class="content-box">
        <div class="content-box-header">
            <ul class="content-box-tabs">
                <li><a href="#tab1" class="default-tab">列 表</a></li>
                <li><a href="#tab2">添 加</a></li>
            </ul>
        	<div class="clear"></div>
        </div>
		<div class="content-box-content">
			<div class="tab-content default-tab" id="tab1">
                <table>
                    <thead>
                        <tr style="text-align:center">
                            <td style="text-align:center;width:60px">编号</td>
                            <td style="text-align:center;">功能中文名</td>
                            <td style="text-align:center;">功能英文名</td>
                            <td style="text-align:center;width:160px">添加时间</td>
                            <td style="text-align:center;width:180px">操作</td>
                        </tr>
                    </thead>
                    <tfoot>
                        <tr>
                            <td colspan="9">
                            <div class="bulk-actions align-left"> </div>
                            <div class="pagination">{$rs.show}</div>
                            <div class="clear"></div>
                            </td>
                        </tr>
                    </tfoot>
                    <tbody>
                        <volist name="rs.data" id="val"> 
                            <tr>                    
                                <td style='text-align:center;vertical-align:middle; line-height:25px'>{$val.controller_id}</td>
                                <td style='text-align:center;vertical-align:middle'>{$val.controller_name_zh}</td>
                                <td style='text-align:center;vertical-align:middle'>{$val.controller_name_en}</td>
                                <td style='text-align:center;vertical-align:middle'>{$val.time_insert|date='Y-m-d H:i',###}</td>
                                <td style='text-align:center;vertical-align:middle''>
                                    <a href='javascript:void(0)' onclick="upt_company({$val.company_id})" title='Edit'>修改</a>
                                    &nbsp;|&nbsp;
                                    <a href='javascript:void(0)' onclick='del_company({$val.company_id})' title='Delete'>删除</a>
                                </td>
                            </tr>
                        </volist>
                    </tbody>
                </table>
            </div>
            <!-- end tab1-->
            <div class="tab-content" id="tab2">
                <form method="post" enctype="multipart/form-data" action="__URL__/addAct">
                <fieldset>
                <table>
                    <tr>
                        <td width="20%">表中文名<span style="color:red"> * </span></td>
                        <td width="80%"><input class="text-input small-input" type="text" name="controller_name_zh"/></td>
                    </tr>
                	<tr>
                        <td width="20%">表英文名<span style="color:red"> * </span></td>
                        <td width="80%"><input class="text-input small-input" type="text" name="controller_name_en"/></td>
                    </tr>
                    <tr>
                        <td width="20%">字段<span style="color:red"> * </span></td>
                        <td width="80%">
                            <textarea name="controller_cows" rows="15" ></textarea>
                    </tr>
                </table>
                <p>
                <input class="button" type="submit" value="Submit" />
                <input type="reset" id="reset_form" style="display:none" /> 
                </p>
                </fieldset>
                <div class="clear"></div>
                </form>
            </div>
		</div>
	</div>
<div class="clear"></div>
</div>
</div>